Skip to content

ui: always selects the next-keyboard button when cycling to a new keyboard screen - #334

Open
epicleafies wants to merge 1 commit into
Blockstream:masterfrom
epicleafies:keyboard-initial-selection
Open

ui: always selects the next-keyboard button when cycling to a new keyboard screen#334
epicleafies wants to merge 1 commit into
Blockstream:masterfrom
epicleafies:keyboard-initial-selection

Conversation

@epicleafies

Copy link
Copy Markdown

Fixes #333.

The multi-page keyboard entry screens (passphrase, otp name) set no initial selection, so the first time each page was shown the selection fell back to the first character key ('A', '1', ':'). This happens even though every page after the first is only ever reached by clicking the previous page's 'next keyboard' button, and every later visit to a page starts on its 'next' button (which remains selected from when it was clicked to move on).

Sets the 'next keyboard' button as the initial selection for every page after the first. Pages reached by clicking 'next' consistently start on 'next'. The first page is shown without any 'next' click and keeps its default initial selection (its first character key).

Verified on a esp32-s3-devkitc-1 build (ESP-IDF v5.5.4) against current master (5ad8566).

…reen

The multi-page keyboard entry screens (passphrase, otp name) set no
initial selection, so the first time each page was shown the selection
fell back to the first character key ('A', '1', ':') - even though every
page after the first is only ever reached by clicking the previous
page's 'next keyboard' button, and every later visit to a page starts on
its 'next' button (which remains selected from when it was clicked to
move on).

Set the 'next keyboard' button as the initial selection for every page
after the first, so pages reached by clicking 'next' consistently start
on 'next'. The first page is shown without any 'next' click and keeps
its default initial selection (its first character key).
@jgriffiths

jgriffiths commented Aug 23, 2026

Copy link
Copy Markdown
Collaborator

@bitcoinhelp Can you verify/ack the UI change proposed? PR itself looks fine. Another description on the corresponding issue here: #333

@bitcoinhelp

Copy link
Copy Markdown
Contributor

@jgriffiths ack on the proposal itself, makes sense to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent initial selection on passphrase keyboard pages

3 participants